package com.aaa.dao;

import com.aaa.pojo.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrderDao {

    List<Order> findAllOrder();

    int updateStatusByOrderId(@Param("orderId") Integer orderId, @Param("status") Integer status);
}
